package com.maimang.platform.dsp.entity;

import com.maimang.platform.annotation.Excel;
import com.maimang.platform.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname FundDaily
 * @description <br>账户日流水表对应实体类</br>
 * @date 2019-10-31 17:24:20
 * @email jintaozhao@qq.com
 */
public class FundDaily extends BaseEntity {
	private static final long serialVersionUID = 1L;


	/**
	 * 表id
	 */
	@Excel(name = "表id")
	private Long id;

	/**
	 * 广告主ID
	 */
	@Excel(name = "广告主ID")
	private Long advertiserId;

	/**
	 * 日期
	 */
	@Excel(name = "日期")
	private String date;

	/**
	 * 日终结余
	 */
	@Excel(name = "日终结余")
	private BigDecimal balance;

	/**
	 * 现金支出
	 */
	@Excel(name = "现金支出")
	private BigDecimal cashCost;

	/**
	 * 现金余额
	 */
	@Excel(name = "现金余额")
	private BigDecimal cost;

	/**
	 * 冻结
	 */
	@Excel(name = "冻结")
	private BigDecimal frozen;

	/**
	 * 总存入
	 */
	@Excel(name = "总存入")
	private BigDecimal income;

	/**
	 * 赠款支出
	 */
	@Excel(name = "赠款支出")
	private BigDecimal rewardCost;

	/**
	 * 返货支出
	 */
	@Excel(name = "返货支出")
	private BigDecimal returnGoodsCost;

	/**
	 * 总转入
	 */
	@Excel(name = "总转入")
	private BigDecimal transferIn;

	/**
	 * 总转出
	 */
	@Excel(name = "总转出")
	private BigDecimal transferOut;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAdvertiserId() {
		return advertiserId;
	}

	public void setAdvertiserId(Long advertiserId) {
		this.advertiserId = advertiserId;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public BigDecimal getCashCost() {
		return cashCost;
	}

	public void setCashCost(BigDecimal cashCost) {
		this.cashCost = cashCost;
	}

	public BigDecimal getCost() {
		return cost;
	}

	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}

	public BigDecimal getFrozen() {
		return frozen;
	}

	public void setFrozen(BigDecimal frozen) {
		this.frozen = frozen;
	}

	public BigDecimal getIncome() {
		return income;
	}

	public void setIncome(BigDecimal income) {
		this.income = income;
	}

	public BigDecimal getRewardCost() {
		return rewardCost;
	}

	public void setRewardCost(BigDecimal rewardCost) {
		this.rewardCost = rewardCost;
	}

	public BigDecimal getReturnGoodsCost() {
		return returnGoodsCost;
	}

	public void setReturnGoodsCost(BigDecimal returnGoodsCost) {
		this.returnGoodsCost = returnGoodsCost;
	}

	public BigDecimal getTransferIn() {
		return transferIn;
	}

	public void setTransferIn(BigDecimal transferIn) {
		this.transferIn = transferIn;
	}

	public BigDecimal getTransferOut() {
		return transferOut;
	}

	public void setTransferOut(BigDecimal transferOut) {
		this.transferOut = transferOut;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("advertiserId", getAdvertiserId())
				.append("date", getDate())
				.append("balance", getBalance())
				.append("cashCost", getCashCost())
				.append("cost", getCost())
				.append("frozen", getFrozen())
				.append("income", getIncome())
				.append("rewardCost", getRewardCost())
				.append("returnGoodsCost", getReturnGoodsCost())
				.append("transferIn", getTransferIn())
				.append("transferOut", getTransferOut())
				.append("createTime", getCreateTime())
				.append("createUser", getCreateUser())
				.append("updateTime", getUpdateTime())
				.append("updateUser", getUpdateUser())
				.toString();
	}
}
